/*
 * Copyright (C) 2018 Logos Technology Ltd.
 */

package com.logos.common.source.network.entity;

import java.io.Serializable;

/**
 * @author Young Ken
 */

public class FailedNetEntity implements Serializable {

    /**
     * code : 1
     * message : SUCCESS
     */
    public FailedNetEntity(int code, String message) {
        setCode(code);
        setMessage(message);
    }

    private int code;
    private String message;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }
}
